from django.urls import path
from .views import material_library, delete_material, upload_material

app_name = 'sourcematerial'

urlpatterns = [
    path('', material_library, name='material_library'),
    path('upload/', upload_material, name='upload_material'),  # 添加上传素材的路由
    path('delete/<int:material_id>/', delete_material, name='delete_material'),
]